//package com.example.service.impl.login;
//
//import com.example.dao.login.UserDao;
//import com.example.pojo.login.User;
//import com.example.service.login.UserService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.security.core.userdetails.UsernameNotFoundException;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
//@Service
//public class UserDetailInfo implements UserService {
//    @Autowired
//    private UserDao userDao;
//    @Override
//    public List<User> getUser() {
//        return null;
//    }
//
//    @Override
//    public User getEquipFile(String accound)throws UsernameNotFoundException {
//        System.out.println("这里点击登录");
//        System.out.println("user["+accound+"] is logining..");
//        User user = userDao.getUser(accound);
//        if(user==null){
//            System.out.println("user["+accound+"] is not exist..");
//            throw new UsernameNotFoundException(accound+"do not exist");
//        }
//        System.out.println("get user info from db"+user.toString());
////        User user1 = new User(userDao.getUsers(),user.getPassword(),true,true,true,true,getUser(user.getAvatar());
//        return null;
//    }
//
//}
